import { request } from "@/utils/request";

export function getCode(tel: string) {
  return request.post(
    "/api/user/getCode",
    {
      tel,
      imgCode: "",
    },
    {
      params: { pid: 1004 },
      headers: {
        "Content-Type": "application/x-www-form-urlencoded",
      },
    }
  );
}
